<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <title>团贷网</title>
    <meta name="description" content="团贷网"/>
    <meta name="keywords" content="团贷网"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
</head>
<body data-type="sysRole">
<div th:include="framework/tpl/tpl-head-reference :: tpl-head-reference"></div>

<div class="am-g tpl-g">
    <!-- 头部 -->
    <div th:include="framework/tpl/tpl-head :: tpl-head"></div>
    <!-- 风格切换 -->
    <div th:include="framework/tpl/tpl-skiner :: tpl-skiner" class="tpl-skiner"></div>
    <!-- 侧边导航栏 -->
    <div th:include="framework/tpl/tpl-leftsider :: tpl-leftside" class="left-sidebar"></div>


    <!-- 内容区域 -->
    <div class="tpl-content-wrapper">
        <div class="row-content am-cf">
            <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                    <div class="widget am-cf">
                        <div class="widget-head am-cf">
                            <div class="widget-title am-fl"><a th:href="@{/framework/sysRole/index}">角色表管理 </a> / 保存角色表</div>
                        </div>
                        <div class="widget-body  widget-body-lg am-fr">
                            <form class="am-form tpl-form-border-form tpl-form-border-br " action="/framework/sysRole/save">
                                <input type="hidden" name="id" th:value="${sysRole.id}">
                                <input type="hidden" name="operationVersion" th:value="${sysRole.operationVersion}">
                                <div class="am-form-group">
                                    <label class="am-u-sm-3 am-form-label">角色名 <span class="tpl-form-line-small-title">role_name</span></label>
                                        <div class="am-u-sm-9">
                                            <input type="text" name="roleName" class="tpl-form-input" id="roleName"
                                                   th:value="${sysRole.roleName}" placeholder="请输入角色名">
                                            <small>角色名</small>
                                        </div>
                                </div>
                                <div class="am-form-group">
                                    <label class="am-u-sm-3 am-form-label">角色代码 <span class="tpl-form-line-small-title">role_code</span></label>
                                        <div class="am-u-sm-9">
                                            <input type="text" name="roleCode" class="tpl-form-input" id="roleCode"
                                                   th:value="${sysRole.roleCode}" placeholder="请输入角色代码">
                                            <small>角色代码</small>
                                        </div>
                                </div>
                                <div class="am-form-group">
                                    <div class="am-u-sm-9 am-u-sm-push-3">
                                        <button type="button" data-refer="/framework/sysRole" class="btn-submit am-btn am-btn-primary tpl-btn-bg-color-success ">
                                            提交
                                        </button>
                                        <button type="button" onclick="window.history.go(-1)" class=" am-btn am-btn-cancel tpl-btn-bg-color-success ">
                                            返回
                                        </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<div th:include="framework/tpl/tpl-foot :: tpl-foot" class="tpl-foot"></div><script></script>
</body>
</html>
